package com.jin.service.Impl;

import com.jin.pojo.UserLevel;
import com.jin.service.UserLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserLevelServiceImpl implements UserLevelService {
    @Autowired
    UserLevelService userLevelService;
    @Override
    public int insertUserLevel(UserLevel userLevel) {
        return userLevelService.insertUserLevel(userLevel);
    }

    @Override
    public int delUserLevel(Integer levelId) {
        return userLevelService.delUserLevel(levelId);
    }

    @Override
    public int updateUserLevel(UserLevel userLevel) {
        return userLevelService.updateUserLevel(userLevel);
    }

    @Override
    public List<UserLevel> selectUserLevel() {
        return userLevelService.selectUserLevel();
    }
}
